﻿using System;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using Entities;

namespace MobilesApplication
{
    public partial class LoginForm : Office2007Form
    {
        
        public LoginForm()
        {
            InitializeComponent();
        }

        private void btnXCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            Close();
        }

        private void btnXlogIn_Click(object sender, EventArgs e)
        {
            Member result = new Member() { };//login in here
            MainForm frm = MdiParent as MainForm;
            frm.GetUse(result);
            DialogResult = DialogResult.OK;
            Close();
        }
    }
}
